{if condition="$GLOBALS['config']['site']['user_tgads'] eq 1"}
<a href="javascript:void(0)" target="_blank"><img src="{:mac_url_img($maccms.user_tgads_img)}"></a>
{/if}